from utils.my_celery.main import app
from utils.send_sms_code import send_message

@app .task
def send_code(mobile):
    resp = send_message(mobile)
    return resp